/**
* 作者: lichuan
* 日期: 2025-07-09 14:25:35
* 备注: 联盟地标建筑加成表
*/
package com.motu.monstercity.server.game.commondata.union;

import io.vertx.core.json.JsonObject;

public class UnionDecorationEffectModel {
	protected int id; // key值唯一标识
	protected int level; // 总等级
	protected int effect; // 对应性格英雄实力加成 (百分比加成)

	public UnionDecorationEffectModel() {
	}

	public UnionDecorationEffectModel(JsonObject obj) {
		id = obj.containsKey("id") ? obj.getInteger("id") : 0;
		level = obj.containsKey("level") ? obj.getInteger("level") : 0;
		effect = obj.containsKey("effect") ? obj.getInteger("effect") : 0;
	}

	public int getId() {
		return id;
	}

	public int getLevel() {
		return level;
	}

	public int getEffect() {
		return effect;
	}

}
